package com.tueye.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.tueye.base.util.BaseService;
import com.tueye.dao.impl.LoginDaoImpl;
import com.tueye.service.ILoginService;
import com.tueye.service.exception.TuEyeServiceException;

/**
 * 
 * @author hanxiaowei
 *
 */
@Scope("prototype")
@Component("loginService")
public class LoginServiceImpl extends BaseService implements ILoginService {
	
	@SuppressWarnings("unused")
	@Autowired
	@Qualifier("loginDao")
	private LoginDaoImpl loginDao;

	@Override
	public List getLogonInfo(String username, String password) throws TuEyeServiceException {
		
		return loginDao.getLogonInfo(username, password);
	}
	
	
}
